package com.sirc.zp.domain;

/**
 * Created by wpx on 2018/3/7.
 */
public class MenuItem {
    private Integer pid; //主键id
    private String pname;//菜单名称
    private String pintr;//菜单描述
    private String target;//菜单跳转的url
    private Integer ppid;//父节点id
    private Integer affiliated;//菜单权限附属的功能权限

    public MenuItem() {
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public String getPintr() {
        return pintr;
    }

    public void setPintr(String pintr) {
        this.pintr = pintr;
    }

    public String getTarget() {
        return target;
    }

    public void setTarget(String target) {
        this.target = target;
    }

    public Integer getPpid() {
        return ppid;
    }

    public void setPpid(Integer ppid) {
        this.ppid = ppid;
    }

    public Integer getAffiliated() {
        return affiliated;
    }

    public void setAffiliated(Integer affiliated) {
        this.affiliated = affiliated;
    }

    @Override
    public String toString() {
        return "MenuItem{" +
                "pid=" + pid +
                ", pname='" + pname + '\'' +
                ", pintr='" + pintr + '\'' +
                ", target='" + target + '\'' +
                ", ppid=" + ppid +
                ", affiliated=" + affiliated +
                '}';
    }
}
